#include<stdio.h>
#include<math.h>
int main(){
    double(*f)(double) ;
    f=sin;
    printf("%f\n",f(0));
    f=cos;
    printf("%f\n",f(0));
    return 0;
}
